package com.ruan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruan.common.Result;
import com.ruan.pojo.BusinessTrip;
import com.ruan.pojo.QuerySelfAttendanceCondition;
import com.ruan.pojo.Resign;
import com.ruan.pojo.ToolBorrowRecords;

public interface ToolBorrowRecordsService extends IService<ToolBorrowRecords> {

//    IPage<ToolBorrowRecords> getSelfToolsBR(int currentPage, int pageSize, QuerySelfAttendanceCondition querySelfAttendanceCondition);

    String backAudit(Long id);//, Integer adminId

    String back(Long id, Integer adminId);

    void refuseReturn(Integer id, Integer adminId);

    String agreed(Integer id, Integer adminId);

    void refuse(Integer id, Integer adminId);

    void cancelToolApplication(Integer id);

    Result appForToolBR(ToolBorrowRecords toolBorrowRecords);
}
